package com.lx.config;/**
 * @ProjectName: lx
 * @Package: com.lx.config
 * @ClassName: MybatisPlusConfig
 * @Author: 张晟睿
 * @Date: 2021/9/12 15:08
 * @Version: 1.0
 */

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 *@ClassName MybatisPlusConfig
 *@Description
 *@Author 张晟睿
 *@Date 2021/9/12
 **/

@Configuration
public class MybatisPlusConfig {
    @Bean
    public PaginationInterceptor paginationInterceptor() {

        return new PaginationInterceptor();
    }

}
